package com.jxin.web.consts;

import lombok.AllArgsConstructor;

/**
 * 响应状态枚举类
 * @author  Jxin
 * @version 1.0
 * @since 2020/1/13 20:01
 */
@AllArgsConstructor
public enum HttpRspStatusEnum {
    HTTP_RES_CODE_200("响应请求成功", 200),
    HTTP_RES_CODE_201("验证码不存在", 201),
    HTTP_RES_CODE_202("验证码错误", 202),
    HTTP_RES_CODE_203("账号密码错误", 203),
    HTTP_RES_CODE_204("账号已存在", 204),
    HTTP_RES_CODE_205("关联QQ账号失败", 205),
    HTTP_RES_CODE_206("关联微信账号失败", 206),
    HTTP_RES_CODE_207("QQ账号已关联", 207),
    HTTP_RES_CODE_208("微信账号已关联", 208),
    HTTP_RES_CODE_500("系统错误", 500),
    HTTP_RES_CODE_501("入参异常", 501);


    /**名称*/
    private String name;
    /**code*/
    private Integer code;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
